﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<PhotogalleryModel.News>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	News
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Recent news: </h1> 
    <%foreach (var news in Model)
      {%>
      <%
          Html.RenderPartial("PhotoRecentCommented", news);%>
      <%
      }%>


</asp:Content>
